#pragma once

#include "DDBufferBlock.h"
#include "DD_AnalyCfg2.h"

class xkRefPoint;
class xfRefMask
{
public:
	xfRefMask(void);
	~xfRefMask(void);

public:
	int SetMaskFile(char *pFileName);
	int LoadMask();
	int SaveMask();
	int ClearMask();

public:
	int SetMask(void *pVoid,BOOL bSet=TRUE);

public:
	zkAnalyMaskHead m_xMaskHead;

private:
	DDBufferBlock   m_xBuffer;

private:
	char m_szMaskFile[MAX_PATH];

private:
	xkRefPoint *m_pRefPoint;

};
